/*
 * @Author       : Darcy
 * @Date         : 2021-04-23 21:39:07
 * @LastEditors  : Darcy
 * @LastEditTime : 2021-04-23 21:39:55
 * @FilePath     : \HelloWorld\Cpp\TXExersice\06\Park.h
 * @Description  : <(￣︶￣)↗[GO!]
 * https://github.com/Darcy-Zhang
 */
//
// Created by darcy on 4/23/21.
//

#ifndef INC_06_PARK_H
#define INC_06_PARK_H

#include "Automobile.h"
#include <iostream>

class Automobile;
class Park {
  public:
    explicit Park(int n);

    void showInfo() const;

    void enter(Automobile *automobile);

    void leave(Automobile *automobile);

  private:
    double income;
    int N;
    Automobile **spaces;
    int i;
};

#endif // INC_06_PARK_H
